#include "Tag.h"

Tag::Tag(): FSObject(0,string("")) {

}

Tag::Tag(int id, string name) : FSObject(id, name) {
}

ostream& operator<<(ostream& os, const Tag& tag) {
    os << "Tag: " << tag.name << endl;
    return os;
}

bool Tag :: operator<(const Tag &tag) const {
    return this->name < tag.get_name();
}

int Tag :: get_id(void) const {
	return id;
};

void Tag :: set_id(int id) {
	this->id = id;
};
